Interface IMigrationBuilder<TProps>

Assembly: redb.Core.Pro.dll

Builder for configuring property migrations.
Fluent API similar to EF Core ModelBuilder.

public interface IMigrationBuilder<TProps> where TProps : class

Methods

Property(string)

Select property by name (for removed fields)

IPropertyMigrationBuilder<TProps, object> Property(string propertyName)

Property<TProp>(Expression<Func<TProps, TProp>>)

Select property for migration configuration

IPropertyMigrationBuilder<TProps, TProp> Property<TProp>(Expression<Func<TProps, TProp>> propertySelector)